package com.myapp.ruyixing.ui;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.View;
import android.view.View.OnClickListener;

import com.myapp.ruyixing.R;

public class MemberActivity extends BaseActivity {

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);

		setContentView(R.layout.activity_member);

		Fragment fragment = getSupportFragmentManager().findFragmentById(
				R.id.fragment);
		if (fragment != null) {
			((MemberFragment) fragment).setTitleImageIcon(R.drawable.icon_back,
					new OnClickListener() {

						@Override
						public void onClick(View v) {
							finish();

						}
					});
		}
	}
}
